﻿@model MvcPractice.Students

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<div>
    <h4>Students</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @*@Html.DisplayNameFor(model => model.StuName)*@学生姓名：
        </dt>

        <dd>
            @Html.DisplayFor(model => model.StuName)
        </dd>

        <dt>
            @*@Html.DisplayNameFor(model => model.Age)*@年龄：
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Age)
        </dd>

        <dt>
            @*@Html.DisplayNameFor(model => model.Phone)*@电话：
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Phone)
        </dd>

        <dt>
            @*@Html.DisplayNameFor(model => model.Email)*@邮箱：
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Email)
        </dd>

        <dt>
            @*@Html.DisplayNameFor(model => model.Class.ClassName)*@班级：
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Class.ClassName)
        </dd>

    </dl>
</div>
<p>
    @Html.ActionLink("返回", "Index")
</p>
